<?php
/**
 * FlickrPhotosetsDatabase class file
 * @package FlickrPhotosetsDB
 */

/**
 * Defines the operations needed for the database.
 * 
 * @package FlickrPhotosetsDB
 * @author Brad Dougherty <bdougherty@gmail.com>
 * @version 8.1.11
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License 3.0
 */
abstract class FlickrPhotosetsDatabase {
	
	// Abstract functions to implement depending on database type
	public abstract function get_info($uid);
	public abstract function get_recent_tags($minutes = 10);
	public abstract function get_uid_from_nsid($nsid);
	public abstract function log($uid, $action, $success, $text = '');
	public abstract function remove_flickr_auth($uid);
	public abstract function remove_user($uid);
	public abstract function save_config($config);
	public abstract function set_facebook_info($uid, $session_key);
	public abstract function set_flickr_auth($uid, $auth_level);
	public abstract function set_last_photo($uid, $pid);
	public abstract function set_photosets($uid, $photosets);
	public abstract function store_token($uid, $nsid, $token);
	
}

?>